projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a67e2da
)
tools/libxl: fix array subscript has type 'char'
author
Christoph Egger
<chegger@amazon.de>
Thu, 30 May 2013 12:24:57 +0000
(14:24 +0200)
committer
Ian Campbell
<ian.campbell@citrix.com>
Fri, 31 May 2013 11:46:33 +0000
(12:46 +0100)
Signed-off-by: Christoph Egger <chegger@amazon.de>
tools/libxl/libxl_utils.c
patch
|
blob
|
history
diff --git
a/tools/libxl/libxl_utils.c
b/tools/libxl/libxl_utils.c
index 35da71c48236103c816f64916025621fe62213c0..4309e5e345c561bf64c842e8c62b719949bfe5f4 100644
(file)
--- a/
tools/libxl/libxl_utils.c
+++ b/
tools/libxl/libxl_utils.c
@@
-95,7
+95,7
@@
int libxl_domain_qualifier_to_domid(libxl_ctx *ctx, const char *name,
{
int i, rv;
for (i=0; name[i]; i++) {
- if (!
isdigit(
name[i])) {
+ if (!
CTYPE(isdigit,
name[i])) {
goto nondigit_found;
}
}